package com.pj.wisdomlogistics.mvp.contract;


import com.pj.wisdomlogistics.entity.RepairDetailInfo;
import com.pj.wisdomlogistics.mvp.frame.base.BasePresenter;
import com.pj.wisdomlogistics.mvp.frame.base.BaseView;


public interface RepairDetailContract {
    public interface View extends BaseView {
        public void onError(String errorMsg);
        public void onSuccess(RepairDetailInfo mInfo);
        public void onOrderSuccess();
        public void onPoritionSuccess();
        public void onPjSuccess();
    }

    public interface Presenter extends BasePresenter {
        public void findRepairDetail(
                int repairApplyID
        );
        public void  orderRepair(
                String userID ,
                int repairApplyID
        );

        public void repairAllot(
                String userID ,
                String fixWorkerID ,
                String fixWorkerName ,
                String fixWorkerTel ,
                String repairApplyID ,
                String comment ,
                String state
        );

        public void assessRepair(
                String assess ,
                String repairApplyID ,
                int levels
        );

    }
}
